function getData(url) {
    axios
        .get(url)
        .then(function (response) {
            console.log(response.data);
            player.render(response.data[0]);
        })
        .catch(function (error) { console.log(error) })
}

getData("../data/data.json");